package dbx

import (
	"net/url"

	"github.com/minio/minio-go/v7"
)

type Minio struct {
	Secure             bool
	Region             string
	BucketLookup       minio.BucketLookupType
	CustomRegionViaURL func(u url.URL) string

	// TrailingHeaders indicates server support of trailing headers.
	// Only supported for v4 signatures.
	TrailingHeaders bool

	// Number of times a request is retried. Defaults to 10 retries if this option is not configured.
	// Set to 1 to disable retries.
	MaxRetries int
}
